Intermediate R - Load Data And Environment - 1
One should look for what is and not what he thinks should be. – Albert Einstein
Load Data and Environment: Topic introduction
In this part of the course, we will cover the following concepts:
- Load data into R
- Manipulate variables within an R environment
Warm-up
- Think of the kinds of data that you encounter most commonly and consistently
- What file extensions do you typically associate with these datasets?
- What file formats are you most comfortable working with?
- Share your thoughts in the virtual chat
Module completion checklist
|
Objective
|
Complete
|
|
Read and write data in RStudio
|
|
|
Load and clear variables in the R environment
|
|
File Paths
- File paths are essentially directions that tell R where to import or export files on your computer
- Let’s say you want to go to the coffee shop to get breakfast
- How would you get there?
- Start at home
- Catch the downtown 6 train
- Get out at Astor Place, facing south
- Turn right at the corner of Astor Place
- Walk 2 blocks
- Turn right at E 4th street